package com.service.Impl;
import java.util.List;
import com.dao.TbContactMapper;
import com.entity.TbContact;
import com.service.TbContactService;
public class TbContactServiceImpl implements TbContactService{
    private TbContactMapper tbContactMapper;
    @Override
    public long getTbContactRowCount(){
        return tbContactMapper.getTbContactRowCount();
    }
    @Override
    public List<TbContact> selectTbContact(){
        return tbContactMapper.selectTbContact();
    }
    @Override
    public TbContact selectTbContactByObj(TbContact obj){
        return tbContactMapper.selectTbContactByObj(obj);
    }
    @Override
    public TbContact selectTbContactById(Integer id){
        return tbContactMapper.selectTbContactById(id);
    }
    @Override
    public int insertTbContact(TbContact value){
        return tbContactMapper.insertTbContact(value);
    }
    @Override
    public int insertNonEmptyTbContact(TbContact value){
        return tbContactMapper.insertNonEmptyTbContact(value);
    }
    @Override
    public int insertTbContactByBatch(List<TbContact> value){
        return tbContactMapper.insertTbContactByBatch(value);
    }
    @Override
    public int deleteTbContactById(Integer id){
        return tbContactMapper.deleteTbContactById(id);
    }
    @Override
    public int updateTbContactById(TbContact enti){
        return tbContactMapper.updateTbContactById(enti);
    }
    @Override
    public int updateNonEmptyTbContactById(TbContact enti){
        return tbContactMapper.updateNonEmptyTbContactById(enti);
    }

    public TbContactMapper getTbContactMapper() {
        return this.tbContactMapper;
    }

    public void setTbContactMapper(TbContactMapper tbContactMapper) {
        this.tbContactMapper = tbContactMapper;
    }

}